import request from '@/config/request';

// 上传文件接口
export function upFile (data: any): Promise<any> {
  return request({
    url: '/common/upload',
    method: 'POST',
    contentType: 'file',
    data
  })
}